import React, { Component } from 'react'
import style from './css/index.css'
// import style2 from './css/index.module.css'

// 导入路径不能以“.tsx”扩展名结束。考虑改为导入“./components/Comp”
import Comp from '@components/Comp'

export default class App extends Component {
    render() {
        return (
            <div>
                <h1 className={style.title}>App组件</h1>
                <Comp a={1}/>
            </div>
        )
    }
}
